<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div class="container-right-warp boxSizing ptop">
		<form class="jgui-form-horizontal" style="padding-right:0px;">
			<div class="pull">
				<div class="pull-left"> 
					<a style='color:#666; text-decoration: blink;'><i class="icon-back_balck"></i>返回</a>
				</div>
			</div>
			<div class="editform">
				<div class="fieldsetbox ptop">
				 	<h3>表单控件库</h3> 
					<div class="fieldsetbox-wrapper">
					</div>
				</div>
				<div class="container-right-warp ptop" id="container-right-warp" style="overflow-y:auto;">
					<div class="newform" style="height: auto;position: absolute;top: 168px;bottom: 10px; width: 100%;overflow-x: hidden;    overflow-y: auto; min-height: auto;">
						<div class="jgui-row jgui-form-item jgui-form-no-colon">
							<div class="jgui-form-item-label">
								<label for="title" class="jgui-form-item-required">表单名称</label>
							</div>
							<div class="jgui-form-item-wrapper">
								<div class="jgui-form-item-control has-success">
									<span class="jgui-input-wrapper"><input type="text"
										placeholder="请输入表单名称" maxlength="30" autocomplete="off"
										id="form_name" value="" class="jgui-input jgui-input-lg"></span>
								</div>
							</div>
						</div>
						<div class="jgui-row jgui-form-item jgui-form-no-colon">
							<div class="jgui-form-item-label">
								<label for="desc" class="">表单描述</label>
							</div>
							<div class="jgui-form-item-wrapper">
								<div class="jgui-form-item-control has-success">
									<span class="jgui-input-wrapper"><textarea
											type="textarea" maxlength="60" placeholder="请输入表单描述"
											id="form_des" 
											class="jgui-input jgui-input-lg"></textarea></span>
								</div>
							</div>
						</div>
                        <div style="display:none" id="encryptForm" class="jgui-row jgui-form-item jgui-form-no-colon">
                            <div class="jgui-form-item-label">
                                <label for="desc" class="">是否加密</label>
                            </div>
                            <div class="jgui-form-item-wrapper">
                                <div class="jgui-form-item-control has-success">
                                    <span class="jgui-input-wrapper">
                                      <label for="yes">是</label>
                                      <input type="radio" value="0"  name="encrypt" id="yes" />
									  <label for="no">否</label>
									  <input type="radio" value="1" checked="checked" name="encrypt" id="no" />
                                   <span style="color: darkblue;">（注意：加密选项设置后不可更改！）</span>
                                    </span>
                                </div>
                                
                            </div>
                        </div>
						<div class="border"></div>
						<div class="jgui-row jgui-form-item jgui-form-no-colon">
							<div class="jgui-form-item-label">
								<label class="jgui-form-item-required">表单控件</label>
							</div>
							<div class="jgui-form-item-wrapper">
								<div class="jgui-form-item-control ">
									<div class="formdrag">
										<!-- react-text: 304 -->
										点击表单控件库按钮添加控件
										<!-- /react-text -->
									</div>
									<span class="txtc9">温馨提示：最多只能添加100个控件</span>
								</div>
							</div>
						</div>
						<div class="jgui-row jgui-form-item jgui-form-no-colon" style="">
							<div class="jgui-form-item-wrapper">
								<div class="jgui-form-item-control ">
									<span id='btn_preview' class="jgui-btn jgui-btn-primary jgui-btn-lg" style="margin-right: 12px;">
										<span>预 览</span>
									</span>
									<span id='btn_submit' class="jgui-btn jgui-btn-primary jgui-btn-lg" style="margin-right: 12px;">
										<span>提 交</span>
									</span>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="jgui-drawer jgui-drawer-close jgui-drawer-right" style="padding-top:47px;z-index: 1000;">
				<div class="duty_drawer duty_newform hide" style="height:100%;">
					<div class="duty_warp">
						<div class="duty_scroll" >
                         <div class="duty_header">
	                        <span class="close"></span>
	                        <h4 id="jgui-title" style="border:0;">编辑控件</h4>
	                    </div>
						<div class="duty_form"></div>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
	
	<script>
		seajs.use("oa/act/approval/form/js/formedit", function(app) {
			app.init();
		});
	</script>
</body>
</html>